package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

public class ReqB112BillCancSubmitDetail {
    //    支付请求码
    public String reqSeqID;
    //    撤销人银行账号
    public String actNum;
    //撤销人名称
    public String actName;
    //撤销人账号区域
    public String actArea;
    //    撤销银行联行号(撤销银行开户行行号)
    public String cancBnkCode;
    //撤销人开户行名称
    public String cancBnkName;
    //    电子票据序列号（票据号）
    public String billNo;
    //    票据币种
    public String billCur;
    //    撤回类型 1-承兑申请撤回 2-提示收票申请撤回 3-背书转让申请撤回 4-贴现申请撤回 5-质押申请撤回 6-（逾期）提示付款撤回
//    7-出票保证申请撤回 8-承兑保证申请撤回  9-背书保证申请撤回 10-追索通知撤回 11-同意清偿撤回 12-解质押申请撤回
    public String cancelType;
    public String dueOverFlag;
    //    业务流水号
    public String busiNo;

    //    备注
    public String memo;
    //    票面金额
    public String billAmt;
    //    原业务日期 yyyy-MM-dd
    public String oldPlatDate;
    //    原业务流水号
    public String oldSeq;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;
    //被追索人名称(被撤销人)
    public String receName;
    //被追索人账号(被撤销人)
    public String receAct;
    //被追索人开户行号(被撤销人)
    public String receBnkCode;
    //被追索人开户行名称(被撤销人)
    public String receBnkName;
    //被撤销人账号区域
    public String receActArea;
    //票面到期开始时间 (出票日期)yyyy-MM-dd
    public String beginDueDate;
    //票面到期结束时间(票据到期日) yyyy-MM-dd
    public String endDueDate;
    //不得转让标记 1-可再转让 0-不得转让
    public String transFlag;
    //    票据类型 1-银承 2-商承
    public String billType;
    //申请人组织机构代码
    public String applyCode;


    public XElement srcElement;

    public ReqB112BillCancSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        actName = srcElement.getSingleText("ActName");
        actArea = srcElement.getSingleText("ActArea");
        cancBnkCode = srcElement.getSingleText("CancBnkCode");
        cancBnkName = srcElement.getSingleText("CancBnkName");

        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        cancelType = srcElement.getSingleText("CancelType");
        dueOverFlag = srcElement.getSingleText("DueOverFlag");
        busiNo = srcElement.getSingleText("BusiNo");

        memo = srcElement.getSingleText("Memo");
        billAmt = srcElement.getSingleText("BillAmt");

        oldPlatDate = srcElement.getSingleText("OldPlatDate");
        oldSeq = srcElement.getSingleText("OldSeq");


        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");
        receName = srcElement.getSingleText("ReceName");
        receAct = srcElement.getSingleText("ReceAct");
        receBnkCode = srcElement.getSingleText("ReceBnkCode");
        receBnkName = srcElement.getSingleText("ReceBnkName");
        receActArea = srcElement.getSingleText("ReceActArea");
        beginDueDate = srcElement.getSingleText("BeginDueDate");
        endDueDate = srcElement.getSingleText("EndDueDate");

        transFlag = srcElement.getSingleText("TransFlag");
        billType = srcElement.getSingleText("BillType");
        applyCode = srcElement.getSingleText("ApplyCode");
    }
}
